From: kaf24@firebug.cl.cam.ac.uk Date: Wed, 4 Oct 2006 08:43:45 +0000 (+0100) Subject: [IOEMU] When vncunused is specified, allocate a port from 5900 X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15622^2~4 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=d73abfd1104bf34ba8b10951e42d3323a4561305;p=xen.git [IOEMU] When vncunused is specified, allocate a port from 5900 rather than 5898. Signed-off-by: Daniel P. Berrange --- diff --git a/tools/ioemu/vl.c b/tools/ioemu/vl.c index 1a46cf3a9f..35a9b63eae 100644 --- a/tools/ioemu/vl.c +++ b/tools/ioemu/vl.c @@ -6310,7 +6310,7 @@ int main(int argc, char **argv) case QEMU_OPTION_vncunused: vncunused++; if (vnc_display == -1) - vnc_display = -2; + vnc_display = 0; break; } }